public class Student {
    String name;// 姓名
    int age;// 年龄
    String id;// 学号
    String sex;// 性别
    boolean state;// 是否请假

    public Student() {
        // TODO 自动生成的构造函数存根
    }

    public Student(String name, String id, String sex, boolean state) {// 基本信息
        super();
        this.name = name;
        this.id = id;
        this.sex = sex;
        this.state = state;
    }

    public Student(String name, int age, String id, String sex, String professional, String img_path) {// 全部信息
        super();
        this.name = name;
        this.age = age;
        this.id = id;
        this.sex = sex;
        this.state = true;
    }

    @Override
    public String toString() {
        return "Student [state=" + state + "]";
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public void setState(boolean state) {
        this.state = state;
    }
}
